package com.sudo.dao.admin.entity;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

@Table(name = "sys_user_login_record")
public class SysUserLoginRecord {
    /**
     * 乐观锁
     */
    @Id
    private Integer id;

    /**
     * 用户名
     */
    private String username;

    /**
     * 登录时间
     */
    @Column(name = "loginTime")
    private String loginTime;

    /**
     * 来源
     */
    private String source;

    private String country;

    private String province;

    private String city;

    /**
     * 设备
     */
    private String device;

    @Column(name = "systemName")
    private String systemName;
    /**
     * 浏览器
     */
    private String browser;

    /**
     * 获取乐观锁
     *
     * @return id - 乐观锁
     */
    public Integer getId() {
        return id;
    }

    /**
     * 设置乐观锁
     *
     * @param id 乐观锁
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取用户名
     * @return username - 用户名
     */
    public String getUsername() {
        return username;
    }

    /**
     * 设置用户名
     *
     * @param username 用户名
     */
    public void setUsername(String username) {
        this.username = username;
    }

    public void setSystemName(String systemName) {
        this.systemName = systemName;
    }

    public String getSystemName() {
        return systemName;
    }

    public String getLoginTime() {
        return loginTime;
    }

    public void setLoginTime(String loginTime) {
        this.loginTime = loginTime;
    }

    /**
     * 获取来源
     *
     * @return source - 来源
     */
    public String getSource() {
        return source;
    }

    /**
     * 设置来源
     *
     * @param source 来源
     */
    public void setSource(String source) {
        this.source = source;
    }

    public String getCountry() {
        return country;
    }

    public void setCountry(String country) {
        this.country = country;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    /**
     * 获取设备
     *
     * @return device - 设备
     */
    public String getDevice() {
        return device;
    }

    /**
     * 设置设备
     *
     * @param device 设备
     */
    public void setDevice(String device) {
        this.device = device;
    }

    /**
     * 获取浏览器
     *
     * @return browser - 浏览器
     */
    public String getBrowser() {
        return browser;
    }

    /**
     * 设置浏览器
     *
     * @param browser 浏览器
     */
    public void setBrowser(String browser) {
        this.browser = browser;
    }
}
